AOP for Legacy Environments, a Case Study
نویسندگان
چکیده
We present a case study where we applied Aspect Orientation (AO) against an industrial, legacy, non Object Oriented application, in an effort to regain lost knowledge thereof. We start off by briefly discussing some of the problems which arise in such software, as well as how aspects might aid in alleviating them. We then discuss the implementation of an aspect language for C, aspicere, which is based on declarative pointcuts and meta information. Finally, we present the case study itself, as well as preliminary results of regained knowledge of the system.
منابع مشابه
Face-off: AOP+LMP vs. legacy software
This paper applies a mix of aspect-oriented programming (AOP) and logic meta-programming (LMP) to tackle some concerns of/in legacy environments. We present four different problems, and illustrate —with code— how far AOP+LMP gets us. The legacy environments subjected to this treatment encompass the two major players: C, and (of course) Cobol. The aspect code is based on, respectively, Aspicere ...
متن کاملUsing aspect orientation in legacy environments for reverse engineering using dynamic analysis - An industrial experience report
This paper reports on the challenges of using aspect oriented programming (AOP) to aid in re-engineering a legacy C application. More specifically, we describe how AOP helps in the important reverse engineering step which typically precedes a reengineering effort. We first present a comparison of available AOP tools for legacy C code bases and then argument our choice of Aspicere, our own AOP i...
متن کاملAspect-orientation For Revitalising Legacy Business Software
This paper relates on a first attempt to see if aspect-oriented programming (AOP) can help with the revitalisation of legacy business software. By means of four realistic case studies covering reverse engineering, restructuring and integration, we discuss the applicability of the aspect-oriented paradigm in the context of two major programming languages for such environments: Cobol and C.
متن کاملUnplugging Components using Aspects
Normally, Aspect-Oriented Programming (AOP) is used for plugging and not for unplugging. Aspects (concerns) are weaved into a system, thus providing a modularized way to add crosscutting features to a base program. For example, given a base program without logging and given a logging aspect, the AOP weaver produces from the untangled code an executable with the desired crosscutting logging beha...
متن کاملProgram Comprehension Using Aspects
Aspect Oriented Programming (AOP) is a powerful reflective programming tool. In this paper we discuss how simple yet effective AOP constructs can be used to facilitate the process of program comprehension on three bodies of code. The first is the Java portion of a sizable third party legacy system for manipulating and displaying protein sequences entitled Friend. The second is Eclipse, an open ...
متن کامل